﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Alta_Usuario.aspx.cs" Inherits="Ticksys_ABM_Usuarios_Alta_Usuario"MasterPageFile="~/Ticksys/MasterPage.master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<div>
 <table width="100%">
        <tr style="color: White; background-color:#1A4C66">
            <td>Nuevo Usuario</td>
        </tr>
    </table>
    <table width="100%">
        <tr>
            <td style="width:61px;">

    <asp:Label ID="Nombre" runat="server" Text="Nombre"></asp:Label>

            </td>
            <td>

                <asp:TextBox ID="BoxNombre" runat="server"></asp:TextBox>

                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="BoxNombre" Display="Dynamic" ErrorMessage="*" ForeColor="Red" ValidationGroup="AA"></asp:RequiredFieldValidator>

            </td>
        </tr>
        <tr>
            <td style="width:61px;">

    <asp:Label ID="Apellido" runat="server" Text="Apellido"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp; 

            </td>
            <td>

                <asp:TextBox ID="BoxApellido" runat="server"></asp:TextBox>

                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="BoxApellido" Display="Dynamic" ErrorMessage="*" ForeColor="Red" ValidationGroup="AA"></asp:RequiredFieldValidator>

            </td>
        </tr>
        <tr>
            <td style="width:61px;">

    <asp:Label ID="Email" runat="server" Text="Email"></asp:Label>

            </td>
            <td>

                <asp:TextBox ID="BoxEmail" runat="server"></asp:TextBox>

                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="BoxEmail" Display="Dynamic" ErrorMessage="*" ForeColor="Red" ValidationGroup="AA"></asp:RequiredFieldValidator>

            </td>
        </tr>
        <tr>
            <td style="width:61px;">

    <asp:Label ID="Username" runat="server" Text="Username"></asp:Label>

            </td>
            <td>

                <asp:TextBox ID="BoxUsername" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="BoxUsername" Display="Dynamic" ErrorMessage="*" ForeColor="Red" ValidationGroup="AA"></asp:RequiredFieldValidator>
                <asp:Label ID="lbl_Existe" runat="server" Visible="false" ForeColor="Red" Text="El usuario ya existe en el sistema." />
            </td>
        </tr>
        <tr>
            <td style="width:61px;">

    <asp:Label ID="Password" runat="server" Text="Pasword"></asp:Label>

            </td>
            <td>

                <asp:TextBox ID="BoxPassword" runat="server" TextMode="Password"></asp:TextBox>

                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="BoxPassword" Display="Dynamic" ErrorMessage="*" ForeColor="Red" ValidationGroup="AA"></asp:RequiredFieldValidator>

            </td>
        </tr>
        <tr>
            <td style="width:61px;">

    <asp:Label ID="Rol" runat="server" Text="Rol"></asp:Label>

            </td>
            <td>

                <asp:dropdownlist ID="BoxRol" runat="server">
        <asp:ListItem>Administrador</asp:ListItem>
        <asp:ListItem>Operador</asp:ListItem>
    </asp:dropdownlist>

            </td>
        </tr>
        <tr>
            <td style="width:61px;">

    <asp:Label ID="Sector" runat="server" Text="Sector"></asp:Label>

            </td>
            <td>

                <asp:dropdownlist ID="BoxSector" runat="server"></asp:dropdownlist>

            </td>
        </tr>
        <tr>
            <td style="width:61px;">

    <asp:Label ID="Interno" runat="server" Text="Interno"></asp:Label>

            </td>
            <td>

                <asp:TextBox ID="BoxInterno" runat="server"></asp:TextBox>

            </td>
        </tr>
        <tr>
            <td style="width:61px;">

    <asp:ImageButton ID="ImageButton1" runat="server" 
        ImageUrl="~/Ticksys/Imagenes/Btn_Save.png" onclick="ImageButton1_Click" ValidationGroup="AA" />

            </td>
            <td>

                &nbsp;</td>
        </tr>
    </table>
</div>
<div>

    <br />

    &nbsp;&nbsp;&nbsp;&nbsp; 
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <br />
    &nbsp; 
    <br />
    &nbsp;&nbsp; 
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp; 

    <br />
    <br />

</div>


</asp:Content>
